package com.szml.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.szml.dto.LoginFormDTO;
import com.szml.entity.User;
import com.szml.result.Result;

import javax.servlet.http.HttpSession;

/**
* @author 25650
* @description 针对表【user】的数据库操作Service
* @createDate 2024-06-17 16:08:37
*/
public interface UserService extends IService<User> {

    //登录方法
    Result login(LoginFormDTO loginForm, HttpSession session);

    Result register(User user, HttpSession session);
}
